//
//  ShareManager+JR.h
//  KidReading
//
//  Created by YangShuai on 16/6/28.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import "ShareManager.h"
//拼接分享地址(分享魔瓶)
#define JRRecordShare_URL(uid,bookid,countryCode) [NSString stringWithFormat:@"%@/apiweb/server/ugc/audio/bookshare?userId=%@&bookId=%@&countryCode=%@",__Ser3_0_URL_Base_,uid,bookid,countryCode];
//拼接分享地址(分享照片)
#define JRPhotoShare_URL(uid,bookid,activityId) [NSString stringWithFormat:@"%@/apiweb/ugc/picture/outterShare?userId=%@&bookId=%@&activityId=%@",__Ser3_0_URL_Base_,uid,bookid,activityId];
@interface ShareManager (JR)<UIAlertViewDelegate,UITextFieldDelegate>
//分享方法(包含分享到发现)
//分享方法(录音)
-(void)JRShareContainExplorWithText:(NSString*)text ImageArray:(NSArray*)imageArray Url:(NSURL*)shareUrl Title:(NSString*)title Type:(SSDKContentType)type BaseView:(UIView*)baseView BookId:(NSInteger)bookId Success:(void (^)(NSDictionary * retDict))success failure:(void (^)(NSError *error))failure statusChange:(void (^)(SSDKResponseState state, SSDKPlatformType type))statuChange;
//分享方法(照片)
-(void)JRSharePhotoContainExplorWithText:(NSString*)text ImageArray:(NSArray*)imageArray Url:(NSURL*)shareUrl Title:(NSString*)title Type:(SSDKContentType)type BaseView:(UIView*)baseView BookId:(NSInteger)bookId ActivityId:(NSInteger)activityId HurdleNo:(NSInteger)hurdleNo Success:(void (^)(NSDictionary * retDict))success failure:(void (^)(NSError *error))failure statusChange:(void (^)(SSDKResponseState state, SSDKPlatformType type))statuChange;
//js按照dict返回的格式分享
-(void)JSShareWithJSDict:(NSDictionary*)jsDict ShowView:(UIView*)showView;
@end
